package com.sunnada.edu.system.sysrole.dao;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

public interface RoleDao {
	
	public int getRoleCots(HashMap<String, String> params);

	public List<?> findRoles(HashMap<String, String> params);
	
	public int roleAdd(HashMap<String, String> params);
	
	public int moduleRoleAdd(HashMap<String, String> params);
	
	@SuppressWarnings("rawtypes")
	public Map getRoleByRecId(HashMap<String, String> params);
	
	public String[] getModuleIdsByRoleId(HashMap<String, String> params);

	public int roleUpdate(HashMap<String, String> params);

	public int moduleRoleDelete(HashMap<String, String> params);
	
	public int roleDel(HashMap<String, String> params);
	
	
	





	
	
	
	

	public List roleTree2(HashMap<String, String> params);

	public int getRoleUserCots(HashMap<String, String> params);

	public List<?> findRoleUsers(HashMap<String, String> params);

	public int getUserNoexistRoleIdCots(HashMap<String, String> params);

	public List<?> findUserNoexistRoleIds(HashMap<String, String> params);

	public int roleBindSave(HashMap<String, String> params);

	public int roleBindDelete(HashMap<String, String> params);

	public int roleEnable(HashMap<String, String> params);

	public int roleDisable(HashMap<String, String> params);

	public List roleAuthorizeTree(HashMap<String, String> params);

	
}
